package com.prs.crm.service.approval.impl;

import java.util.Collection;
import java.util.List;

import com.prs.crm.dao.approval.ShenQingTypeDao;
import com.prs.crm.domain.approval.JobType;
import com.prs.crm.domain.approval.ShenQingType;
import com.prs.crm.service.approval.ShenQingTypeService;
import com.prs.crm.service.impl.BaseServiceImpl;

public class ShenQingTypeServiceImpl extends BaseServiceImpl<ShenQingType, ShenQingTypeDao>
					implements ShenQingTypeService{

	@Override
	public List<ShenQingType> getAllShenQingType() {
		// TODO Auto-generated method stub
		return this.getDao().getAllShenQingType();
	}

	@Override
	public ShenQingType getShenQingType(String name) {
		// TODO Auto-generated method stub
		return this.getDao().getShenQingType(name);
	}

	@Override
	public Collection<ShenQingType> findByJobType(JobType jobType) {
		return this.getDao().findByJobType(jobType);
	}

	@Override
	public List<ShenQingType> getAllShenQingTypes() {
		return this.getDao().getAllShenQingTypes();
	}

	@Override
	public List<ShenQingType> getShenQingTypeByName(String name) {
		return this.getDao().getShenQingTypeByName(name);
	}

}
